package routers

import (
	"github.com/gin-gonic/gin"
	v1 "teacher-helper/api/v1"
)

func InitSemesterRouter(Router *gin.RouterGroup)  {
	SemesterRouter := Router.Group("semester")
	SemesterRouter.GET("getSemesterList", v1.GetSemesterList)
	SemesterRouter.GET("getSchoolYearList", v1.GetSchoolYearList)
	SemesterRouter.GET("getSemesterMap", v1.GetSemesterMap)
	SemesterRouter.POST("addSemester", v1.AddOneSemester)
	SemesterRouter.PUT("updateSemester", v1.UpdateSemester)
	SemesterRouter.DELETE("deleteSemester", v1.DeleteSemester)
}
